package com.unicom.auth.controller.base;

import com.jfinal.core.Controller;

public abstract class BaseController extends Controller {
	protected static final String BASE_PATH = "/WEB-INF/pages";
	public abstract void index();
	
	public void myRender(String view) {
		render(BASE_PATH + view);
	}
	
	protected String getRealPath(){
		return getRequest().getServletContext().getRealPath("/");
	}
	
}
